package com.huluobo.a2201mvvm_imdemo.mvvm;

import com.huluobo.a2201mvvm_imdemo.net.ApiService;
import com.huluobo.a2201mvvm_imdemo.net.RetrofitManager;
import com.hyphenate.chat.EMClient;

/**
 * Created by LC on 2024/3/22.
 */
public class BaseRepo {
    protected EMClient emClient;
    protected ApiService apiService;

    public BaseRepo() {
        emClient = EMClient.getInstance();
        //拿到apiSetvice的实例
        apiService = RetrofitManager.getInstance().getRetrofit().create(ApiService.class);
    }
}
